package com.itheima.字符流;

import java.io.FileWriter;
import java.io.IOException;
import java.util.Arrays;

public class Demo1 {
    public static void main(String[] args) throws IOException {
        FileWriter fw = new FileWriter("day13_字符流&properties\\a.txt");
        /*byte[] b = {-28, -72, -128, -27, -100, -70, -25, -87, -70};
        String s = new String(b);
        System.out.println(s);*/
        char[] c = {'命','里','无','时','莫','强','求'};
        fw.write("命里有时终须有");
        fw.write(System.lineSeparator());
        fw.write(c);

        fw.write(System.lineSeparator());
        fw.write("上穷碧落下黄泉");

        fw.close();
    }
}
